#ifndef DECLARATION_H
#define DECLARATION_H

#include "defs.h"
#include "instruction.h"
#include "call.h"

class Declaration : public Instruction {
public:
	virtual ~Declaration();
	Declaration();

	int type;
	string nom;
	Types valeur;
	Retour evaluer(map<string, Var_T> *loc, map<string, Var_T> *glob);
	bool initialisee;
	
	bool tableau;
	int sz_tableau;
	
	Call* valeurDeFonction;
};

list<Instruction *> declarer(list<token> tokensVersDec);

#endif